//

import { createApp } from 'vue'
import { createPinia } from 'pinia'

// 引入css样式
import '@/assets/reset.scss'
import 'element-plus/dist/index.css'
// import Element from 'element-plus'

// 导入根实例
import App from './App.vue'


// 创建实例
const app = createApp(App)

// 导入路由
import router from "@/router/index.js";
app.use(router)
// app.use(Element)


app.use(createPinia())

// 挂载实例： index.html 的id为app的div上
app.mount('#app')
